#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <unistd.h>
#include <signal.h>
#include <sys/time.h>
#include "cloging.h"

#define pr_fmt(fmt) "[TAG][%s:%d] " fmt, __FILE__, __LINE__
#define LOG_TAG "CLOG_TEST"

int main(int argc, char *argv[])
{
    struct timespec start, end;
    long long duration_ns;
    (void)argc;

    for (int i = 0; i < 1000000; i++) {
        pr_error("this is pr_error test:%d\n", i);
        usleep(1000000);
    }
    while (1);
    
    return 0;
}